package com.yz.ssm.service.impl;

import com.yz.ssm.dao.UserDao;
import com.yz.ssm.pojo.User;
import com.yz.ssm.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by apple on 2017/8/24.
 */
@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserDao userdao;
    public User findUserById(Integer id){
        return  userdao.findUserById(id);
    }
}
